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
Trained with Unsloth
Browse filesFiles changed (2)
- config.json+8-10
- model.safetensors+2-2
123452 unmodified lines891011121314151617181920212223242526272829{"_name_or_path": "HuggingFaceTB/SmolLM2-135M-Instruct","architectures": ["LlamaForCausalLM"],2 unmodified lines"bos_token_id": 1,"eos_token_id": 2,"hidden_act": "silu","hidden_size": 576,"initializer_range": 0.041666666666666664,"intermediate_size": 1536,"is_llama_config": true,"max_position_embeddings": 8192,"mlp_bias": false,"model_type": "llama","num_attention_heads": 9,"num_hidden_layers": 30,"num_key_value_heads": 3,"pad_token_id": 0,"pretraining_tp": 1,"rms_norm_eps": 1e-05,"rope_interleaved": false,"rope_scaling": null,"rope_theta": 100000,"tie_word_embeddings": true,"torch_dtype": "float16","transformers.js_config": {123452 unmodified lines89101112131415161718192021222324252627{"_name_or_path": "HuggingFaceTB/SmolLM2-1.7B-Instruct","architectures": ["LlamaForCausalLM"],2 unmodified lines"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": {
123version https://git-lfs.github.com/spec/v1oid sha256:9b95c43aaf5efe1269ad6b709162867c8d48db5a1c6c461047388e2c3e7e56a7size 269060280123version https://git-lfs.github.com/spec/v1oid sha256:df3a909cfadef2808072f4c9797b219641075a9f3ff84a6ed4e0caec9665bfacsize 3422777736
config.json+8-10
model.safetensors+2-2