Instructions to use BananaMind/Picolo-BananaMind with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BananaMind/Picolo-BananaMind with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="BananaMind/Picolo-BananaMind", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("BananaMind/Picolo-BananaMind", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use BananaMind/Picolo-BananaMind with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "BananaMind/Picolo-BananaMind" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "BananaMind/Picolo-BananaMind", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/BananaMind/Picolo-BananaMind
- SGLang
How to use BananaMind/Picolo-BananaMind 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 "BananaMind/Picolo-BananaMind" \ --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": "BananaMind/Picolo-BananaMind", "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 "BananaMind/Picolo-BananaMind" \ --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": "BananaMind/Picolo-BananaMind", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use BananaMind/Picolo-BananaMind with Docker Model Runner:
docker model run hf.co/BananaMind/Picolo-BananaMind
Download training_results.json from BananaMind/Picolo-BananaMind: direct link, hf CLI and curl.
- Browser
- Download file 506 Bytes
-
https://huggingface.co/BananaMind/Picolo-BananaMind/resolve/main/training_results.json
- Command line
-
hf download hf://BananaMind/Picolo-BananaMind/training_results.json
-
curl -L -o training_results.json https://huggingface.co/BananaMind/Picolo-BananaMind/resolve/main/training_results.json
506 Bytes
| { | |
| "parameters": 100, | |
| "loss_target_tokens": 10000000, | |
| "documents_read": 1027, | |
| "steps": 611, | |
| "seed": 42, | |
| "dataset": "HuggingFaceFW/fineweb-edu", | |
| "dataset_config": "sample-10BT", | |
| "streaming": true, | |
| "tokenizer": "UTF-8 byte nibbles: two tokens per byte, plus document EOS", | |
| "token_stream_sha256": "20bb2d62ee9344b31331a93ff804fc8becf89f1dcf1119319c46838a3ba1f380", | |
| "final_batch_loss": 2.3311922550201416, | |
| "last_50_mean_loss": 2.3325963401794434, | |
| "elapsed_seconds": 6.863572359085083 | |
| } |