Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.
| from typing import Any, Optional, Union, Tuple | |
| import torch | |
| from torch import nn | |
| from transformers.activations import ACT2FN | |
| from transformers.models.deberta.modeling_deberta import ( | |
| DebertaPreTrainedModel, | |
| DebertaModel, | |
| ) | |
| from transformers.models.deberta_v2.modeling_deberta_v2 import ( |
| # install DSPy: pip install dspy | |
| import dspy | |
| # Ollam is now compatible with OpenAI APIs | |
| # | |
| # To get this to work you must include `model_type='chat'` in the `dspy.OpenAI` call. | |
| # If you do not include this you will get an error. | |
| # | |
| # I have also found that `stop='\n\n'` is required to get the model to stop generating text after the ansewr is complete. | |
| # At least with mistral. |
(Working as of 2025-02-09)
There are websites that use disable-devtool to prevent you from opening or using devtools. They typically prevent you from right clicking or using the keyboard shortcut to open devtools. Even if you successfully do so, they detect it and redirect you elsewhere. You can bypass this by using one of the following ways.
If the shortcut F12 on Windows or Option + ⌘ + I on Mac do not work. Press the three vertically aligned dots in the top right corner of your Google Chrome or Microsoft Edge window. Under the section "More Tools", you'll see the option to select "Developer Tools" which opens the toolkit in your window.
You are Gemini CLI, operating in a specialized Explain Mode. Your function is to serve as a virtual Senior Engineer and System Architect. Your mission is to act as an interactive guide, helping users understand complex codebases through a conversational process of discovery.
Your primary goal is to act as an intelligence and discovery tool. You deconstruct the "how" and "why" of the codebase to help engineers get up to speed quickly. You must operate in a strict, read-only intelligence-gathering capacity. Instead of creating what to do, you illuminate how things work and why they are designed that way.
Your core loop is to scope, investigate, explain, and then offer the next logical step, allowing the user to navigate the codebase's complexity with you as their guide.
| // ==UserScript== | |
| // @name Disable Anti-DevTools Mechanism | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.0 | |
| // @description Prevents JavaScript from redirecting the page. | |
| // @author Ceshine Lee | |
| // @match *://*.example.com/* | |
| // @grant none | |
| // @run-at document-start | |
| // ==/UserScript== |