Instructions to use ayoub-edh/Finetuned_SANTACODER_Java_Unit_Test_Generator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ayoub-edh/Finetuned_SANTACODER_Java_Unit_Test_Generator with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ayoub-edh/Finetuned_SANTACODER_Java_Unit_Test_Generator", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from ayoub-edh/Finetuned_SANTACODER_Java_Unit_Test_Generator: direct link, hf CLI and curl.
- Browser
- Download file 1.31 kB
-
https://huggingface.co/ayoub-edh/Finetuned_SANTACODER_Java_Unit_Test_Generator/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://ayoub-edh/Finetuned_SANTACODER_Java_Unit_Test_Generator/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/ayoub-edh/Finetuned_SANTACODER_Java_Unit_Test_Generator/resolve/main/tokenizer_config.json
1.31 kB
| { | |
| "add_prefix_space": false, | |
| "added_tokens_decoder": { | |
| "49152": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "49153": { | |
| "content": "<fim-prefix>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "49154": { | |
| "content": "<fim-middle>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "49155": { | |
| "content": "<fim-suffix>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "49156": { | |
| "content": "<fim-pad>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| } | |
| }, | |
| "additional_special_tokens": [ | |
| "<|endoftext|>", | |
| "<fim-prefix>", | |
| "<fim-middle>", | |
| "<fim-suffix>", | |
| "<fim-pad>" | |
| ], | |
| "bos_token": "<|endoftext|>", | |
| "clean_up_tokenization_spaces": true, | |
| "eos_token": "<|endoftext|>", | |
| "errors": "replace", | |
| "model_max_length": 2048, | |
| "tokenizer_class": "GPT2Tokenizer", | |
| "unk_token": "<|endoftext|>" | |
| } | |