Update README.md
Browse files
README.md
CHANGED
|
@@ -13,4 +13,108 @@ tags:
|
|
| 13 |
- lite
|
| 14 |
- cheap
|
| 15 |
- agent
|
| 16 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
- lite
|
| 14 |
- cheap
|
| 15 |
- agent
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
# π omriX
|
| 19 |
+
|
| 20 |
+
**A well-trained small coding agent that is very quick.**
|
| 21 |
+
|
| 22 |
+
`omriX` is a lightweight, open-source coding-focused model designed for speed, efficiency, and practical developer workflows. With a compact disk size of roughly **3 GB**, itβs ideal for local inference, low-cost deployments, and experimentation without heavy hardware requirements.
|
| 23 |
+
|
| 24 |
+
---
|
| 25 |
+
|
| 26 |
+
## β¨ Key Features
|
| 27 |
+
|
| 28 |
+
- β‘ **Fast inference** β optimized for quick responses
|
| 29 |
+
- π§ **Coding-focused** β tuned for programming and code-related tasks
|
| 30 |
+
- π¦ **Lightweight** β ~3 GB disk size
|
| 31 |
+
- π **Open source** β Apache-2.0 license
|
| 32 |
+
- πΈ **Cheap to run** β suitable for low-resource environments
|
| 33 |
+
- π€ **Agent-friendly** β works well as a small coding agent component
|
| 34 |
+
|
| 35 |
+
---
|
| 36 |
+
|
| 37 |
+
## π§© Use Cases
|
| 38 |
+
|
| 39 |
+
- Code understanding & classification
|
| 40 |
+
- Lightweight coding assistants
|
| 41 |
+
- Student projects / FYPs
|
| 42 |
+
- Local developer tools
|
| 43 |
+
- Agent pipelines requiring fast, small models
|
| 44 |
+
- Prototyping and experimentation
|
| 45 |
+
|
| 46 |
+
---
|
| 47 |
+
|
| 48 |
+
## π₯ Model Details
|
| 49 |
+
|
| 50 |
+
- **Model ID:** `xlelords/omriX`
|
| 51 |
+
- **License:** Apache-2.0
|
| 52 |
+
- **Language:** English
|
| 53 |
+
- **Pipeline Tag:** Text Classification
|
| 54 |
+
- **Disk Size:** ~3 GB
|
| 55 |
+
- **Status:** Fully open-source
|
| 56 |
+
|
| 57 |
+
---
|
| 58 |
+
|
| 59 |
+
## π Quick Start
|
| 60 |
+
|
| 61 |
+
Example usage with π€ Transformers:
|
| 62 |
+
|
| 63 |
+
```python
|
| 64 |
+
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
| 65 |
+
|
| 66 |
+
model_id = "xlelords/omriX"
|
| 67 |
+
|
| 68 |
+
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
| 69 |
+
model = AutoModelForSequenceClassification.from_pretrained(model_id)
|
| 70 |
+
|
| 71 |
+
text = "Explain what this function does: def add(a, b): return a + b"
|
| 72 |
+
|
| 73 |
+
inputs = tokenizer(text, return_tensors="pt")
|
| 74 |
+
outputs = model(**inputs)
|
| 75 |
+
|
| 76 |
+
print(outputs.logits)
|
| 77 |
+
```
|
| 78 |
+
|
| 79 |
+
> β οΈ Note: The pipeline interface depends on your downstream setup.
|
| 80 |
+
> `omriX` is commonly used as a **component model inside agents** or custom pipelines.
|
| 81 |
+
|
| 82 |
+
---
|
| 83 |
+
|
| 84 |
+
## π οΈ Agent Integration
|
| 85 |
+
|
| 86 |
+
`omriX` is well-suited for use in lightweight agent frameworks such as:
|
| 87 |
+
|
| 88 |
+
- Custom Python agents
|
| 89 |
+
- Tool-calling pipelines
|
| 90 |
+
- smolagents-style workflows
|
| 91 |
+
- Local or edge deployments
|
| 92 |
+
|
| 93 |
+
Its small size and fast responses make it ideal for chaining with tools or running alongside other models.
|
| 94 |
+
|
| 95 |
+
---
|
| 96 |
+
|
| 97 |
+
## π License
|
| 98 |
+
|
| 99 |
+
This model is released under the **Apache-2.0 License**.
|
| 100 |
+
You are free to use, modify, distribute, and build upon it β even commercially.
|
| 101 |
+
|
| 102 |
+
---
|
| 103 |
+
|
| 104 |
+
## π€ Contributing
|
| 105 |
+
|
| 106 |
+
Contributions are welcome!
|
| 107 |
+
Feel free to open issues or pull requests for:
|
| 108 |
+
|
| 109 |
+
- Documentation improvements
|
| 110 |
+
- Benchmarks
|
| 111 |
+
- Agent examples
|
| 112 |
+
- Optimized inference setups
|
| 113 |
+
|
| 114 |
+
---
|
| 115 |
+
|
| 116 |
+
## β Final Notes
|
| 117 |
+
|
| 118 |
+
If youβre looking for a **fast, cheap, and capable small coding agent**, `omriX` is built to get out of your way and let you ship.
|
| 119 |
+
|
| 120 |
+
Enjoy π
|