Instructions to use matteodagos/MNLP_M2_mcqa_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Local Apps Settings
- Unsloth Studio
How to use matteodagos/MNLP_M2_mcqa_model 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 matteodagos/MNLP_M2_mcqa_model 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 matteodagos/MNLP_M2_mcqa_model to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for matteodagos/MNLP_M2_mcqa_model to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="matteodagos/MNLP_M2_mcqa_model", max_seq_length=2048, )
Upload model trained with Unsloth
Browse filesUpload model trained with Unsloth 2x faster
- README.md +1 -0
- config.json +4 -2
- generation_config.json +3 -1
- model.safetensors +1 -1
README.md
CHANGED
|
@@ -3,4 +3,5 @@ license: mit
|
|
| 3 |
tags:
|
| 4 |
- trl
|
| 5 |
- sft
|
|
|
|
| 6 |
---
|
|
|
|
| 3 |
tags:
|
| 4 |
- trl
|
| 5 |
- sft
|
| 6 |
+
- unsloth
|
| 7 |
---
|
config.json
CHANGED
|
@@ -4,7 +4,6 @@
|
|
| 4 |
],
|
| 5 |
"attention_bias": false,
|
| 6 |
"attention_dropout": 0.0,
|
| 7 |
-
"bos_token_id": 151643,
|
| 8 |
"eos_token_id": 151643,
|
| 9 |
"head_dim": 128,
|
| 10 |
"hidden_act": "silu",
|
|
@@ -17,13 +16,16 @@
|
|
| 17 |
"num_attention_heads": 16,
|
| 18 |
"num_hidden_layers": 28,
|
| 19 |
"num_key_value_heads": 8,
|
|
|
|
| 20 |
"rms_norm_eps": 1e-06,
|
| 21 |
"rope_scaling": null,
|
| 22 |
"rope_theta": 1000000,
|
| 23 |
"sliding_window": null,
|
| 24 |
"tie_word_embeddings": true,
|
| 25 |
"torch_dtype": "float32",
|
| 26 |
-
"transformers_version": "4.
|
|
|
|
|
|
|
| 27 |
"use_cache": true,
|
| 28 |
"use_sliding_window": false,
|
| 29 |
"vocab_size": 151936
|
|
|
|
| 4 |
],
|
| 5 |
"attention_bias": false,
|
| 6 |
"attention_dropout": 0.0,
|
|
|
|
| 7 |
"eos_token_id": 151643,
|
| 8 |
"head_dim": 128,
|
| 9 |
"hidden_act": "silu",
|
|
|
|
| 16 |
"num_attention_heads": 16,
|
| 17 |
"num_hidden_layers": 28,
|
| 18 |
"num_key_value_heads": 8,
|
| 19 |
+
"pad_token_id": 151654,
|
| 20 |
"rms_norm_eps": 1e-06,
|
| 21 |
"rope_scaling": null,
|
| 22 |
"rope_theta": 1000000,
|
| 23 |
"sliding_window": null,
|
| 24 |
"tie_word_embeddings": true,
|
| 25 |
"torch_dtype": "float32",
|
| 26 |
+
"transformers_version": "4.51.3",
|
| 27 |
+
"unsloth_fixed": true,
|
| 28 |
+
"unsloth_version": "2025.5.7",
|
| 29 |
"use_cache": true,
|
| 30 |
"use_sliding_window": false,
|
| 31 |
"vocab_size": 151936
|
generation_config.json
CHANGED
|
@@ -1,6 +1,8 @@
|
|
| 1 |
{
|
| 2 |
"bos_token_id": 151643,
|
| 3 |
"eos_token_id": 151643,
|
|
|
|
| 4 |
"max_new_tokens": 2048,
|
| 5 |
-
"
|
|
|
|
| 6 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"bos_token_id": 151643,
|
| 3 |
"eos_token_id": 151643,
|
| 4 |
+
"max_length": 32768,
|
| 5 |
"max_new_tokens": 2048,
|
| 6 |
+
"pad_token_id": 151654,
|
| 7 |
+
"transformers_version": "4.51.3"
|
| 8 |
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2384234968
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b780ce4521c31c245d62a38a6f03021063ea3eddfa0b87bc55213aeda0a00e5c
|
| 3 |
size 2384234968
|