Instructions to use NoNeet/TestSLM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NoNeet/TestSLM with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="NoNeet/TestSLM")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("NoNeet/TestSLM") model = AutoModelForSequenceClassification.from_pretrained("NoNeet/TestSLM", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 1
Browse filesFiles changed (7)
- config.json+31-30
- model.safetensors+2-2
- special_tokens_map.json+5-26
- tokenizer.json
- tokenizer_config.json+23-120
- training_args.binAdded+3
- vocab.txtAdded
12345678910111213141516171819202122232425262728293031323334353637{"_name_or_path": "HuggingFaceTB/SmolLM2-1.7B-Instruct","architectures": ["LlamaForCausalLM"],"attention_bias": false,"attention_dropout": 0.0,"bos_token_id": 1,"eos_token_id": 2,"hidden_act": "silu","hidden_size": 2048,"initializer_range": 0.02,"intermediate_size": 8192,"max_position_embeddings": 8192,"mlp_bias": false,"model_type": "llama","num_attention_heads": 32,"num_hidden_layers": 24,"num_key_value_heads": 32,"pad_token_id": 0,"pretraining_tp": 1,"rms_norm_eps": 1e-05,"rope_scaling": null,"rope_theta": 130000,"tie_word_embeddings": true,"torch_dtype": "float16","transformers.js_config": {"kv_cache_dtype": {"fp16": "float16","q4f16": "float16"}},"transformers_version": "4.44.2","unsloth_version": "2024.10.7","use_cache": true,"vocab_size": 49152}1234567891011121314151617181920212223242526272829303132333435363738{"architectures": ["BertForSequenceClassification"],"attention_probs_dropout_prob": 0.1,"classifier_dropout": null,"directionality": "bidi","dtype": "float32","hidden_act": "gelu","hidden_dropout_prob": 0.1,"hidden_size": 768,"id2label": {"0": "\u041d\u0415\u0413\u0410\u0422\u0418\u0412\u041d\u042b\u0419","1": "\u041f\u041e\u0417\u0418\u0422\u0418\u0412\u041d\u042b\u0419"},"initializer_range": 0.02,"intermediate_size": 3072,"label2id": {"\u041d\u0415\u0413\u0410\u0422\u0418\u0412\u041d\u042b\u0419": 0,"\u041f\u041e\u0417\u0418\u0422\u0418\u0412\u041d\u042b\u0419": 1},"layer_norm_eps": 1e-12,"max_position_embeddings": 512,"model_type": "bert","num_attention_heads": 12,"num_hidden_layers": 12,"pad_token_id": 0,"pooler_fc_size": 768,"pooler_num_attention_heads": 12,"pooler_num_fc_layers": 3,"pooler_size_per_head": 128,"pooler_type": "first_token_transform","position_embedding_type": "absolute","transformers_version": "4.57.0","type_vocab_size": 2,"use_cache": true,"vocab_size": 120138}
123version https://git-lfs.github.com/spec/v1oid sha256:df3a909cfadef2808072f4c9797b219641075a9f3ff84a6ed4e0caec9665bfacsize 3422777736123version https://git-lfs.github.com/spec/v1oid sha256:1aaaa5a013fc9dd37338b26c0cc166d4bf5bdef216e1e82a4a9596d716cf5106size 713259008
12345678910111213141516171819202122232425262728{"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": "<|endoftext|>","unk_token": {"content": "<|endoftext|>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false}}1234567{"cls_token": "[CLS]","mask_token": "[MASK]","pad_token": "[PAD]","sep_token": "[SEP]","unk_token": "[UNK]"}
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361 unmodified line138139140141142143144145146147148149150151152153154155{"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,1 unmodified line"special": true}},"additional_special_tokens": ["<|im_start|>","<|im_end|>"],"bos_token": "<|im_start|>","chat_template": "{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system\nYou are a helpful AI assistant named SmolLM, trained by Hugging Face<|im_end|>\n' }}{% endif %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}","clean_up_tokenization_spaces": false,"eos_token": "<|im_end|>","model_max_length": 8192,"pad_token": "<|endoftext|>","padding_side": "left","tokenizer_class": "GPT2Tokenizer","unk_token": "<|endoftext|>","vocab_size": 49152}1234567891011121314151617181920212223242526272829303132333435363738391 unmodified line414243444546474849505152535455565758{"added_tokens_decoder": {"0": {"content": "[PAD]","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"100": {"content": "[UNK]","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"101": {"content": "[CLS]","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"102": {"content": "[SEP]","lstrip": false,"normalized": false,"rstrip": false,"single_word": false,"special": true},"103": {"content": "[MASK]","lstrip": false,"normalized": false,"rstrip": false,1 unmodified line"special": true}},"clean_up_tokenization_spaces": true,"cls_token": "[CLS]","do_basic_tokenize": true,"do_lower_case": true,"extra_special_tokens": {},"mask_token": "[MASK]","model_max_length": 1000000000000000019884624838656,"never_split": null,"pad_token": "[PAD]","sep_token": "[SEP]","strip_accents": null,"tokenize_chinese_chars": true,"tokenizer_class": "BertTokenizer","unk_token": "[UNK]"}
123version https://git-lfs.github.com/spec/v1oid sha256:97077970f5a623ea950a35db97a531ede1c96a7d825f1971ab7765d006f189f8size 5841config.json+31-30
model.safetensors+2-2
special_tokens_map.json+5-26
tokenizer.json
tokenizer_config.json+23-120
training_args.binAdded+3
vocab.txtAdded