Instructions to use lew96123/deepmind_code_contests_adaptor with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lew96123/deepmind_code_contests_adaptor with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="lew96123/deepmind_code_contests_adaptor", trust_remote_code=True)# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("lew96123/deepmind_code_contests_adaptor", trust_remote_code=True) model = AutoModel.from_pretrained("lew96123/deepmind_code_contests_adaptor", trust_remote_code=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Studio
How to use lew96123/deepmind_code_contests_adaptor with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for lew96123/deepmind_code_contests_adaptor to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for lew96123/deepmind_code_contests_adaptor to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for lew96123/deepmind_code_contests_adaptor to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="lew96123/deepmind_code_contests_adaptor", max_seq_length=2048, )
(Trained with Unsloth)
Browse files- tokenizer.json +2 -2
- tokenizer_config.json +1 -1
tokenizer.json
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d27bf952925b6e14ec92a0a31758494613e50dd289b4496b49db0c015a98dae7
|
| 3 |
+
size 15524645
|
tokenizer_config.json
CHANGED
|
@@ -123,7 +123,7 @@
|
|
| 123 |
"extra_special_tokens": {},
|
| 124 |
"model_max_length": 131072,
|
| 125 |
"pad_token": "<|PAD▁TOKEN|>",
|
| 126 |
-
"padding_side": "
|
| 127 |
"tokenizer_class": "GPT2Tokenizer",
|
| 128 |
"unk_token": "�"
|
| 129 |
}
|
|
|
|
| 123 |
"extra_special_tokens": {},
|
| 124 |
"model_max_length": 131072,
|
| 125 |
"pad_token": "<|PAD▁TOKEN|>",
|
| 126 |
+
"padding_side": "right",
|
| 127 |
"tokenizer_class": "GPT2Tokenizer",
|
| 128 |
"unk_token": "�"
|
| 129 |
}
|