Instructions to use CCBD-Interns/multiligual-arithmetic-sample with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CCBD-Interns/multiligual-arithmetic-sample with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="CCBD-Interns/multiligual-arithmetic-sample")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("CCBD-Interns/multiligual-arithmetic-sample") model = AutoModelForCausalLM.from_pretrained("CCBD-Interns/multiligual-arithmetic-sample", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use CCBD-Interns/multiligual-arithmetic-sample with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "CCBD-Interns/multiligual-arithmetic-sample" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "CCBD-Interns/multiligual-arithmetic-sample", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/CCBD-Interns/multiligual-arithmetic-sample
- SGLang
How to use CCBD-Interns/multiligual-arithmetic-sample 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 "CCBD-Interns/multiligual-arithmetic-sample" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "CCBD-Interns/multiligual-arithmetic-sample", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "CCBD-Interns/multiligual-arithmetic-sample" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "CCBD-Interns/multiligual-arithmetic-sample", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use CCBD-Interns/multiligual-arithmetic-sample with Docker Model Runner:
docker model run hf.co/CCBD-Interns/multiligual-arithmetic-sample
Commit History
-
End of training
Verified signaturec153c75 -
Training in progress, epoch 15
Verified signature792ff7f -
Training in progress, epoch 14
Verified signatured2f6b26 -
Training in progress, epoch 13
Verified signature7a33245 -
Training in progress, epoch 12
Verified signatureaf18ef5 -
Training in progress, epoch 11
Verified signature805fb8a -
Training in progress, epoch 10
Verified signature768a9e5 -
Training in progress, epoch 9
Verified signatureffe7942 -
Training in progress, epoch 8
Verified signaturef3023e1 -
Training in progress, epoch 7
Verified signature9b3184d -
Training in progress, epoch 6
Verified signaturee323e47 -
Training in progress, epoch 5
Verified signaturedfd3e56 -
Training in progress, epoch 4
Verified signature6ef2478 -
Training in progress, epoch 3
Verified signaturee71b701 -
Training in progress, epoch 2
Verified signatureff03eb2 -
Training in progress, epoch 1
Verified signaturead29e56 -
Training in progress, epoch 24
Verified signaturef63ff8d -
Training in progress, epoch 23
Verified signaturedd87550 -
Training in progress, epoch 22
Verified signature7d62805 -
Training in progress, epoch 21
Verified signature559ab49 -
Training in progress, epoch 20
Verified signature4f5fcbf -
Training in progress, epoch 19
Verified signaturecb07b04 -
Training in progress, epoch 18
Verified signatured698af7 -
Training in progress, epoch 17
Verified signaturebb3adcf -
Training in progress, epoch 16
Verified signature28115ff -
Training in progress, epoch 15
Verified signature20a8304 -
Training in progress, epoch 14
Verified signature1eaf275 -
Training in progress, epoch 13
Verified signature8825c31 -
Training in progress, epoch 12
Verified signature7257cdc -
Training in progress, epoch 11
Verified signaturebd4c06c -
Training in progress, epoch 10
Verified signature89a6b39 -
Training in progress, epoch 9
Verified signature462cda3 -
Training in progress, epoch 8
Verified signature4cc63e1 -
Training in progress, epoch 7
Verified signature77ecabb -
Training in progress, epoch 6
Verified signature74deaf9 -
Training in progress, epoch 5
Verified signature7f0c9b4 -
Training in progress, epoch 4
Verified signature787f93d -
Training in progress, epoch 3
Verified signatureb5fbdf8 -
Training in progress, epoch 2
Verified signaturebd05451 -
Training in progress, epoch 1
Verified signaturec4eb17a -
initial commit
Verified signature720acd4