Text Generation
Transformers
PyTorch
Safetensors
French
gopu
feature-extraction
transformer
mixture-of-experts
Mixture of Experts
french
custom-architecture
conversational
custom_code
Instructions to use Mauricio-100/locgi with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Mauricio-100/locgi with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Mauricio-100/locgi", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Mauricio-100/locgi", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Mauricio-100/locgi with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Mauricio-100/locgi" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Mauricio-100/locgi", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Mauricio-100/locgi
- SGLang
How to use Mauricio-100/locgi 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 "Mauricio-100/locgi" \ --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": "Mauricio-100/locgi", "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 "Mauricio-100/locgi" \ --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": "Mauricio-100/locgi", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Mauricio-100/locgi with Docker Model Runner:
docker model run hf.co/Mauricio-100/locgi
Commit History
-
Update modeling_gopu.py
Verified signaturedd2c463 -
Upload config.json with huggingface_hub
Verified signaturebf32c7a -
Upload chat_template.jinja with huggingface_hub
Verified signaturef80e42d -
Upload tokenizer_config.json with huggingface_hub
Verified signature1d489d4 -
Upload tokenizer.json with huggingface_hub
Verified signature761b1e2
-
Update README.md
Verified signature4c92a34 -
Update README.md
Verified signature91a2d1a -
Create requirements.txt
Verified signature516dca5 -
Create handle.py
Verified signaturec965c30 -
Upload tokenizer.json with huggingface_hub
Verified signature90bfdcd -
Upload chat_template.jinja
Verified signatureBy Mauricio-1001d9954e -
Update README.md
Verified signature9568c26 -
Update README.md
Verified signature31cd3a3
-
Update README.md
Verified signaturePar Mauricio-100249ad2c -
Update README.md
Verified signatureee728ed
-
Mise à jour de l'architecture gopu.inc - modeling_gopu.py
Verified signature1ac1c21 -
Mise à jour de l'architecture gopu.inc - configuration_gopu.py
Verified signaturee2f93f4 -
Mise à jour de l'architecture gopu.inc - config.json
Verified signature6c70b16
-
Create locgi.pt
Verified signatured395126 -
Upload corpus.txt with huggingface_hub
Verified signatureb4b581c -
Upload gopu_poids.safetensors with huggingface_hub
Verified signaturebcf0dac -
Upload corpus.txt with huggingface_hub
Verified signatureba0ab0f -
Upload config.json with huggingface_hub
Verified signaturea8a6691 -
Upload vocab.json with huggingface_hub
Verified signature9a79f37 -
Upload gopu_poids.safetensors with huggingface_hub
Verified signature785ad37 -
Update README.md
Verified signature7505e82 -
Create README.md
Verified signature2a1351e
-
Upload corpus.txt with huggingface_hub
Verified signature04fe9fa -
Upload config.json with huggingface_hub
Verified signature9d9b71c -
Upload vocab.json with huggingface_hub
Verified signature3dfd7f5 -
Upload gopu_poids.safetensors with huggingface_hub
Verified signature95516a1
-
Upload gopu_poids.safetensors with huggingface_hub
Verified signaturef18a89c -
Upload gopu_poids.safetensors with huggingface_hub
Verified signaturec16bf0e -
Upload corpus.txt with huggingface_hub
Verified signature2e36976 -
Upload config.json with huggingface_hub
Verified signature816ef56 -
Upload vocab.json with huggingface_hub
Verified signaturea855399 -
Upload gopu_poids.safetensors with huggingface_hub
Verified signature4f9a370 -
Upload corpus.txt
Verified signatureUpload corpus txt40e63b0
-
Upload gopu_poids.safetensors with huggingface_hub
Verified signature61b5a76
-
Upload vocab.json with huggingface_hub
Verified signaturefe006c6 -
Upload gopu_poids.safetensors with huggingface_hub
Verified signaturefd0d141 -
Upload config.json with huggingface_hub
Verified signatured9b03ff -
Upload vocab.json with huggingface_hub
Verified signaturee4e3693 -
Upload gopu_poids.safetensors with huggingface_hub
Verified signaturea7f1ed2 -
Delete vocab.json with huggingface_hub
Verified signatureccf74de -
Delete training_args.bin with huggingface_hub
Verified signature3e511fa -
Delete train_simple.py with huggingface_hub
Verified signaturebf28c58 -
Delete train_batch.py with huggingface_hub
Verified signature6103287 -
Delete tokenizer_config.json with huggingface_hub
Verified signaturee4c403c -
Delete tokenizer/tokenizer_config.json with huggingface_hub
Verified signature9457846