Upload folder using huggingface_hub
Browse filesFiles changed (10)
- .gitattributes+2
- README.mdAdded+26
- fp16/model.pteAdded+3
- int4/model.pteAdded+3
- int4/tokenizer/chat_template.jinjaAdded+6
- int4/tokenizer/merges.txtAdded
- int4/tokenizer/special_tokens_map.jsonAdded+34
- int4/tokenizer/tokenizer.jsonAdded
- int4/tokenizer/tokenizer_config.jsonAdded+154
- int4/tokenizer/vocab.jsonAdded
32 unmodified lines33343532 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text32 unmodified lines333435363732 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textfp16/model.pte filter=lfs diff=lfs merge=lfs -textint4/model.pte filter=lfs diff=lfs merge=lfs -text
1234567891011121314151617181920212223242526---library_name: executorchbase_model: HuggingFaceTB/SmolLM2-135M-Instructtags: - executorch - on-device - mobile---
# smollm-135m (ExecuTorch)
This model is a derivative of [HuggingFaceTB/SmolLM2-135M-Instruct](https://huggingface.co/HuggingFaceTB/SmolLM2-135M-Instruct) converted to **ExecuTorch (.pte)** format for mobile/edge deployment.
## Variants Available
| Folder | Quantization | Size | Description ||---|---|---|---|| `int4/` | 8-bit Act / 4-bit Wgt | Small | **Best for Mobile** || `fp16/` | Float16 | Large | High Precision |
## License & Terms
This model derivative is subject to the original model's license terms:- **Source:** [HuggingFaceTB/SmolLM2-135M-Instruct](https://huggingface.co/HuggingFaceTB/SmolLM2-135M-Instruct)
Please check the source model card for license details (likely Apache 2.0 or Llama Community).123version https://git-lfs.github.com/spec/v1oid sha256:2cf94d7b6b12aa67291395124c4ebc35955d43c5fb0ec4ce91406e818de7542bsize 326573440123version https://git-lfs.github.com/spec/v1oid sha256:6f9e1e12b3936e6997cac2f7aeeaf8655c8a03405e01a10e631693732ebe5af8size 105148288123456{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>systemYou are a helpful AI assistant named SmolLM, trained by Hugging Face<|im_end|>' }}{% endif %}{{'<|im_start|>' + message['role'] + '' + message['content'] + '<|im_end|>' + ''}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant' }}{% endif %}12345678910111213141516171819202122232425262728293031323334{ "additional_special_tokens": [ "<|im_start|>", "<|im_end|>" ], "bos_token": { "content": "<|im_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "eos_token": { "content": "<|im_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "pad_token": { "content": "<|im_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "unk_token": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154{ "add_prefix_space": false, "added_tokens_decoder": { "0": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "1": { "content": "<|im_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "2": { "content": "<|im_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "3": { "content": "<repo_name>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "4": { "content": "<reponame>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "5": { "content": "<file_sep>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "6": { "content": "<filename>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "7": { "content": "<gh_stars>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "8": { "content": "<issue_start>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "9": { "content": "<issue_comment>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "10": { "content": "<issue_closed>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "11": { "content": "<jupyter_start>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "12": { "content": "<jupyter_text>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "13": { "content": "<jupyter_code>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "14": { "content": "<jupyter_output>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "15": { "content": "<jupyter_script>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "16": { "content": "<empty_output>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true } }, "additional_special_tokens": [ "<|im_start|>", "<|im_end|>" ], "bos_token": "<|im_start|>", "clean_up_tokenization_spaces": false, "eos_token": "<|im_end|>", "extra_special_tokens": {}, "model_max_length": 8192, "pad_token": "<|im_end|>", "tokenizer_class": "GPT2Tokenizer", "unk_token": "<|endoftext|>", "vocab_size": 49152}.gitattributes+2
README.mdAdded+26
fp16/model.pteAdded+3
int4/model.pteAdded+3
int4/tokenizer/chat_template.jinjaAdded+6
int4/tokenizer/merges.txtAdded
int4/tokenizer/special_tokens_map.jsonAdded+34
int4/tokenizer/tokenizer.jsonAdded
int4/tokenizer/tokenizer_config.jsonAdded+154
int4/tokenizer/vocab.jsonAdded