Instructions to use RandomFrontlines/orenis-3b-demo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use RandomFrontlines/orenis-3b-demo with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-3B-Instruct") model = PeftModel.from_pretrained(base_model, "RandomFrontlines/orenis-3b-demo") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from RandomFrontlines/orenis-3b-demo: direct link, hf CLI and curl.
- Browser
- Download file 1.09 kB
-
https://huggingface.co/RandomFrontlines/orenis-3b-demo/resolve/main/README.md
- Command line
-
hf download hf://RandomFrontlines/orenis-3b-demo/README.md
-
curl -L -o README.md https://huggingface.co/RandomFrontlines/orenis-3b-demo/resolve/main/README.md
1.09 kB
| license: apache-2.0 | |
| base_model: Qwen/Qwen2.5-3B-Instruct | |
| tags: | |
| - lora | |
| - peft | |
| - orenis | |
| # Orenis 3B (Demo) | |
| Orenis is an AI assistant developed by **OrenCraft Labs**, founded by Lee Zinu. | |
| This is the **3B demo tier** — a LoRA fine-tune on top of Qwen2.5-3B-Instruct. | |
| A larger 7-9B flagship model is in development. | |
| ## Usage | |
| ```python | |
| from transformers import AutoModelForCausalLM, AutoTokenizer | |
| from peft import PeftModel | |
| base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-3B-Instruct") | |
| tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen2.5-3B-Instruct") | |
| model = PeftModel.from_pretrained(base, "your-username/orenis-3b-demo") | |
| ``` | |
| ## Known limitations | |
| - Occasional inaccuracies on edge-case Python semantics (e.g. for-else loops) | |
| - May sometimes over-explain rather than decline sensitive meta-questions | |
| - 3B scale — general knowledge and reasoning are more limited than larger models | |
| ## Training | |
| Fine-tuned with LoRA (r=16, alpha=32) on a mixed dataset of general instruction data (alpaca-cleaned) plus custom identity, reasoning, and safety-calibration examples. |