Text Generation
Transformers
PyTorch
Safetensors
English
llama
Eval Results (legacy)
text-generation-inference
Instructions to use acrastt/Bean-3B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use acrastt/Bean-3B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="acrastt/Bean-3B")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("acrastt/Bean-3B") model = AutoModelForCausalLM.from_pretrained("acrastt/Bean-3B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use acrastt/Bean-3B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "acrastt/Bean-3B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "acrastt/Bean-3B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/acrastt/Bean-3B
- SGLang
How to use acrastt/Bean-3B 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 "acrastt/Bean-3B" \ --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": "acrastt/Bean-3B", "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 "acrastt/Bean-3B" \ --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": "acrastt/Bean-3B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use acrastt/Bean-3B with Docker Model Runner:
docker model run hf.co/acrastt/Bean-3B
Commit History
-
Adding Evaluation Results (#6)
Verified signature- Adding Evaluation Results (3d39250b94894dab101a7aa73428a160aabe2a92) Co-authored-by: Open LLM Leaderboard PR Bot <leaderboard-pr-bot@users.noreply.huggingface.co>1f7903b
-
Adding Evaluation Results (#5)
- Adding Evaluation Results (0c141734dad354df48da2067e05fa3eded5cad70)7060e6d -
Update README.md
ce86765
-
Update README.md
1ffbce1 -
Update README.md
f8c407e
-
Adding Evaluation Results (#2)
- Adding Evaluation Results (452d92486b205568f1743d21c7cd42ad48ab96a6)d03e3b5
-
Update README.md
c6c50ec
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (dc4d195bcb4031df4fdc70c69f961320d0095f93)bb42fe0 -
Update README.md
4a1ce18 -
Upload 5 files
58ac5c7 -
Upload pytorch_model.bin with huggingface_hub
b0ccb86 -
initial commit
f69710b