Text Generation
Transformers
Safetensors
French
gemma
llm
chatbot
cute
emoji
french
text-generation-inference
Instructions to use Clemylia/Malya with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Clemylia/Malya with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Clemylia/Malya")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Clemylia/Malya") model = AutoModelForCausalLM.from_pretrained("Clemylia/Malya", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Clemylia/Malya with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Clemylia/Malya" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Clemylia/Malya", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Clemylia/Malya
- SGLang
How to use Clemylia/Malya 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 "Clemylia/Malya" \ --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": "Clemylia/Malya", "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 "Clemylia/Malya" \ --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": "Clemylia/Malya", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Clemylia/Malya with Docker Model Runner:
docker model run hf.co/Clemylia/Malya
Commit History
-
Delete chat_template.jinja
Verified signature6de67c9 -
Rename chat_template (1).jinja (1).txt to chat_template.jinja
Verified signature67f8f83 -
Upload chat_template (1).jinja (1).txt
Verified signature01d0469
-
Update README.md
Verified signature695c559
-
Update README.md
Verified signature63714e2
-
Update README.md
Verified signature61c34bc -
Update README.md
Verified signature30dc9b4 -
Update README.md
Verified signature3f5a8f9 -
Update README.md
Verified signaturec3427ee -
Update README.md
Verified signature843a0fe -
Update README.md
Verified signature4035a51 -
Upload tokenizer
Verified signaturee6f0034 -
Upload GemmaForCausalLM
Verified signaturebe51668 -
initial commit
Verified signature0eb7880