Text Generation
Transformers
PyTorch
Safetensors
English
i3
i3-architecture
hybrid-model
rwkv-mamba
custom_code
Instructions to use i3-lab/i3-80m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use i3-lab/i3-80m with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="i3-lab/i3-80m", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("i3-lab/i3-80m", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use i3-lab/i3-80m with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "i3-lab/i3-80m" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "i3-lab/i3-80m", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/i3-lab/i3-80m
- SGLang
How to use i3-lab/i3-80m 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 "i3-lab/i3-80m" \ --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": "i3-lab/i3-80m", "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 "i3-lab/i3-80m" \ --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": "i3-lab/i3-80m", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use i3-lab/i3-80m with Docker Model Runner:
docker model run hf.co/i3-lab/i3-80m
Commit History
-
Update README.md
Verified signature8800d78 -
Update README.md
Verified signature3098c05
-
Update README.md
Verified signature8b84fe1 -
Update README.md
Verified signature46e1611
-
Update README.md
Verified signature3808760 -
Create CITEȘTEMĂ.md
Verified signaturebd4ae9f
-
Update README.md
Verified signature04cca5e -
Update README.md
Verified signatureb37e183
-
Update README.md
Verified signaturebab8a37 -
Update README.md
Verified signatureb72e7dc
-
Create example_run.py
Verified signature725812c -
Create __init__.py
Verified signature22165c1 -
Create tokenizer_i3.py
Verified signature7cdda9f -
Create modeling_i3.py
Verified signature420490d -
Create i3_model.py
Verified signature885e103 -
Delete configuration_i3.py
Verified signatured5710f4 -
Delete i3_model.py
Verified signaturedfa814d -
Delete modeling_i3.py
Verified signaturec0608f0 -
Delete tokenizer_i3.py
Verified signaturee8e5800 -
Update modeling_i3.py
Verified signature3ede900 -
Update README.md
Verified signaturef054d1b -
Update README.md
Verified signature430e7e4 -
Update README.md
Verified signatureb0cf695 -
Update tokenizer_i3.py
Verified signature668d075 -
Update modeling_i3.py
Verified signaturef1fc509 -
Create i3_model.py
Verified signature3b5c8be -
Delete user.py
Verified signature8bf9a01 -
Create tokenizer_i3.py
Verified signaturebe04d7a -
Create modeling_i3.py
Verified signature3e60e81 -
Create configuration_i3.py
Verified signature1c52410
-
Correcting the GPU used for i3-80m
Verified signature3060 to P100997ce06
-
Update README.md
Verified signature1000de1 -
Update README.md
Verified signaturea1e55cf -
Update README.md
Verified signature15fc360 -
Update README.md
Verified signature71ef85c -
Update README.md
Verified signaturee1eb06a -
Update README.md
Verified signature15bef3e -
Upload chunk_vocab_combined.json
Verified signature60c2d09 -
Create user.py
Verified signature9afc379 -
Update README.md
Verified signatured67ca95 -
Adding `safetensors` variant of this model (#1)
Verified signature- Adding `safetensors` variant of this model (041f71d98503d026f43bc816dcb5fcb2701c272b)91911b7 -
Upload pytorch_model.bin
Verified signature3a0e74c -
Upload config.json
Verified signature9befdad
-
Update README.md
Verified signaturecd09b37 -
initial commit
Verified signature58c91ca