Run this model with HF Jobs
Run SemanticAlignment/Mistral-v0.1-Italian-SAVA-instruct on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/SemanticAlignment/Mistral-v0.1-Italian-SAVA-instruct. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/SemanticAlignment/Mistral-v0.1-Italian-SAVA-instruct on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/SemanticAlignment/Mistral-v0.1-Italian-SAVA-instruct. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/SemanticAlignment/Mistral-v0.1-Italian-SAVA-instruct. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use SemanticAlignment/Mistral-v0.1-Italian-SAVA-instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SemanticAlignment/Mistral-v0.1-Italian-SAVA-instruct with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="SemanticAlignment/Mistral-v0.1-Italian-SAVA-instruct") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("SemanticAlignment/Mistral-v0.1-Italian-SAVA-instruct") model = AutoModelForCausalLM.from_pretrained("SemanticAlignment/Mistral-v0.1-Italian-SAVA-instruct", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use SemanticAlignment/Mistral-v0.1-Italian-SAVA-instruct with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "SemanticAlignment/Mistral-v0.1-Italian-SAVA-instruct" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "SemanticAlignment/Mistral-v0.1-Italian-SAVA-instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/SemanticAlignment/Mistral-v0.1-Italian-SAVA-instruct
- SGLang
How to use SemanticAlignment/Mistral-v0.1-Italian-SAVA-instruct with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "SemanticAlignment/Mistral-v0.1-Italian-SAVA-instruct" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "SemanticAlignment/Mistral-v0.1-Italian-SAVA-instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "SemanticAlignment/Mistral-v0.1-Italian-SAVA-instruct" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "SemanticAlignment/Mistral-v0.1-Italian-SAVA-instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use SemanticAlignment/Mistral-v0.1-Italian-SAVA-instruct with Docker Model Runner:
docker model run hf.co/SemanticAlignment/Mistral-v0.1-Italian-SAVA-instruct
Upload folder using huggingface_hub
Browse filesFiles changed (11)
123456{"<|end_header_id|>": 32001,"<|eom_id|>": 32003,"<|eot_id|>": 32002,"<|start_header_id|>": 32000}123456{"<|end_header_id|>": 32769,"<|eom_id|>": 32771,"<|eot_id|>": 32770,"<|start_header_id|>": 32768}
3 unmodified lines456789109 unmodified lines202122232425263 unmodified lines],"attention_dropout": 0.0,"bos_token_id": 1,"dtype": "bfloat16","eos_token_id": 2,"head_dim": null,"hidden_act": "silu",9 unmodified lines"rope_theta": 10000.0,"sliding_window": 4096,"tie_word_embeddings": false,"transformers_version": "4.57.3","use_cache": false,"vocab_size": 32064}3 unmodified lines4567899 unmodified lines1920212223242526273 unmodified lines],"attention_dropout": 0.0,"bos_token_id": 1,"eos_token_id": 2,"head_dim": null,"hidden_act": "silu",9 unmodified lines"rope_theta": 10000.0,"sliding_window": 4096,"tie_word_embeddings": false,"torch_dtype": "bfloat16","transformers_version": "4.52.0.dev0","unk_token_id": 0,"use_cache": false,"vocab_size": 32832}
1 unmodified line234561 unmodified line"_from_model_config": true,"bos_token_id": 1,"eos_token_id": 2,"transformers_version": "4.57.3"}1 unmodified line234561 unmodified line"_from_model_config": true,"bos_token_id": 1,"eos_token_id": 2,"transformers_version": "4.52.0.dev0"}
123version https://git-lfs.github.com/spec/v1oid sha256:a0b933394db60ddca8fdb82f9d8bb36421626f96e97d279945e2c9b1bf4cf07dsize 4943686624123version https://git-lfs.github.com/spec/v1oid sha256:19e44acec21cbc7be9f6081c4c4cbf738a7ea8c384a04158375cd76551dcc45esize 4949978080
123version https://git-lfs.github.com/spec/v1oid sha256:9f1d10d1b1446937d76896bbdafa3d35d1fc8306798aeded6fa58cbcf6f64d93size 4999819336123version https://git-lfs.github.com/spec/v1oid sha256:c3eeb535d837b3ecf67ffaeb9348ed47aed28a3c225cc180127196a0acfa68f2size 4999819336
123version https://git-lfs.github.com/spec/v1oid sha256:a9dde18c5778701bea9674f80f7c47a700f301da728fdc6bbacb61fed6488306size 4541040632123version https://git-lfs.github.com/spec/v1oid sha256:cf58c542f35dbf21b368773760433e5ad2b0b4cf7022b13ed42df3556d8708d0size 4547332088
1234567{"metadata": {"total_parameters": 7242256384,"total_size": 14484512768},"weight_map": {"lm_head.weight": "model-00003-of-00003.safetensors",123456{"metadata": {"total_size": 14497095680},"weight_map": {"lm_head.weight": "model-00003-of-00003.safetensors",
1234569 unmodified lines16171819202122232425262728{"additional_special_tokens": ["<|eom_id|>"],"bos_token": {"content": "<s>",9 unmodified lines"rstrip": false,"single_word": false},"pad_token": {"content": "<|eot_id|>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false},"unk_token": {"content": "<unk>","lstrip": false,1234567891011129 unmodified lines22232425262728{"additional_special_tokens": [{"content": "<|eom_id|>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false}],"bos_token": {"content": "<s>",9 unmodified lines"rstrip": false,"single_word": false},"pad_token": "<|eot_id|>","unk_token": {"content": "<unk>","lstrip": false,
123version https://git-lfs.github.com/spec/v1oid sha256:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055size 493443123version https://git-lfs.github.com/spec/v1oid sha256:bb411d9f702041597b9c84f0c99ee6601f02631467e2a76722db3ca1a2a77bf5size 795167
123456719 unmodified lines272829303132331 unmodified line353637383940411 unmodified line434445464748491 unmodified line5152535455565718 unmodified lines7677787980{"add_bos_token": true,"add_eos_token": false,"add_prefix_space": null,"added_tokens_decoder": {"0": {"content": "<unk>",19 unmodified lines"single_word": false,"special": true},"32000": {"content": "<|start_header_id|>","lstrip": false,"normalized": false,1 unmodified line"single_word": false,"special": true},"32001": {"content": "<|end_header_id|>","lstrip": false,"normalized": false,1 unmodified line"single_word": false,"special": true},"32002": {"content": "<|eot_id|>","lstrip": false,"normalized": false,1 unmodified line"single_word": false,"special": true},"32003": {"content": "<|eom_id|>","lstrip": false,"normalized": false,18 unmodified lines"split_special_tokens": false,"tokenizer_class": "LlamaTokenizer","unk_token": "<unk>","use_default_system_prompt": false}123456719 unmodified lines272829303132331 unmodified line353637383940411 unmodified line434445464748491 unmodified line5152535455565718 unmodified lines7677787980{"add_bos_token": true,"add_eos_token": false,"add_prefix_space": true,"added_tokens_decoder": {"0": {"content": "<unk>",19 unmodified lines"single_word": false,"special": true},"32768": {"content": "<|start_header_id|>","lstrip": false,"normalized": false,1 unmodified line"single_word": false,"special": true},"32769": {"content": "<|end_header_id|>","lstrip": false,"normalized": false,1 unmodified line"single_word": false,"special": true},"32770": {"content": "<|eot_id|>","lstrip": false,"normalized": false,1 unmodified line"single_word": false,"special": true},"32771": {"content": "<|eom_id|>","lstrip": false,"normalized": false,18 unmodified lines"split_special_tokens": false,"tokenizer_class": "LlamaTokenizer","unk_token": "<unk>","use_default_system_prompt": true}
added_tokens.json+4-4
config.json+4-3
generation_config.json+1-1
model-00001-of-00003.safetensors+2-2
model-00002-of-00003.safetensors+1-1
model-00003-of-00003.safetensors+2-2
model.safetensors.index.json+1-2
special_tokens_map.json+8-8
tokenizer.json
tokenizer.model+2-2
tokenizer_config.json+6-6