Run this model with HF Jobs
Run Orwebcraft/orwebcraft-ecology-assistant on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/Orwebcraft/orwebcraft-ecology-assistant. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Orwebcraft/orwebcraft-ecology-assistant on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/Orwebcraft/orwebcraft-ecology-assistant. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/Orwebcraft/orwebcraft-ecology-assistant. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use Orwebcraft/orwebcraft-ecology-assistant with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Orwebcraft/orwebcraft-ecology-assistant with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Orwebcraft/orwebcraft-ecology-assistant")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Orwebcraft/orwebcraft-ecology-assistant", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Orwebcraft/orwebcraft-ecology-assistant with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Orwebcraft/orwebcraft-ecology-assistant" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Orwebcraft/orwebcraft-ecology-assistant", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Orwebcraft/orwebcraft-ecology-assistant
- SGLang
How to use Orwebcraft/orwebcraft-ecology-assistant 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 "Orwebcraft/orwebcraft-ecology-assistant" \ --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": "Orwebcraft/orwebcraft-ecology-assistant", "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 "Orwebcraft/orwebcraft-ecology-assistant" \ --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": "Orwebcraft/orwebcraft-ecology-assistant", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Orwebcraft/orwebcraft-ecology-assistant with Docker Model Runner:
docker model run hf.co/Orwebcraft/orwebcraft-ecology-assistant
πΏ OrWebCraft Ecology Assistant
A small question-answering assistant for the OrWebCraft Ecologists Association β answering questions about ecology, biodiversity, evolution and conservation.
β³ Status: training script ready, weights not yet uploaded. Run
train.pyto train and push the model to this repository.
Model details
| Base model | Qwen/Qwen2.5-1.5B-Instruct |
| Method | Supervised fine-tuning with LoRA (r=16, Ξ±=32, all linear layers), merged into the base weights |
| Training data | Ecology-related topics of camel-ai/biology (ecology, biodiversity, conservation, marine biology, zoology, botany, evolution, entomology, β¦) |
| Epochs / LR | 2 epochs, learning rate 2e-4 (cosine), max length 1024 tokens |
| Language | English |
| License | CC BY-NC 4.0 β non-commercial use only (inherited from the training data) |
Usage
from transformers import pipeline
chat = pipeline("text-generation", model="Orwebcraft/orwebcraft-ecology-assistant")
messages = [
{"role": "system", "content": "You are the OrWebCraft Ecologists Association assistant."},
{"role": "user", "content": "How does habitat fragmentation affect biodiversity?"},
]
print(chat(messages, max_new_tokens=300)[0]["generated_text"][-1]["content"])
Training it yourself
On Google Colab (a free T4 GPU is enough):
!pip install -q "trl>=0.19" "transformers>=4.51" peft datasets accelerate huggingface_hub
from huggingface_hub import login; login() # token with write access
!wget -q https://huggingface.co/Orwebcraft/orwebcraft-ecology-assistant/resolve/main/train.py
!python train.py
Limitations
- The training answers were generated by GPT-4 (CAMEL dataset), not reviewed by ecologists; the model can be wrong or overconfident. Verify important facts against primary sources.
- It is a small (1.5B) model with general ecological knowledge only β it does not know the association's own projects, field studies or datasets. For those, use the association's MCP server:
https://mcp.orwebcraft.com/mcp. - Not for commercial use.
About the association
The OrWebCraft Ecologists Association explores the earth's biodiversity, the processes that generated it, and ways to conserve it, through field and lab studies. π orwebcraft.com