Text Generation
Transformers
Safetensors
PEFT
English
t5
text2text-generation
agents
rag
llmops
lora
text-generation-inference
Instructions to use hharsha/agentic-github-tagger with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hharsha/agentic-github-tagger with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="hharsha/agentic-github-tagger")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("hharsha/agentic-github-tagger") model = AutoModelForSeq2SeqLM.from_pretrained("hharsha/agentic-github-tagger", device_map="auto") - PEFT
How to use hharsha/agentic-github-tagger with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use hharsha/agentic-github-tagger with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "hharsha/agentic-github-tagger" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "hharsha/agentic-github-tagger", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/hharsha/agentic-github-tagger
- SGLang
How to use hharsha/agentic-github-tagger 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 "hharsha/agentic-github-tagger" \ --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": "hharsha/agentic-github-tagger", "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 "hharsha/agentic-github-tagger" \ --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": "hharsha/agentic-github-tagger", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use hharsha/agentic-github-tagger with Docker Model Runner:
docker model run hf.co/hharsha/agentic-github-tagger
Retrain 3 epochs + clearer sample outputs
Browse files- README.md +20 -31
- model.safetensors +1 -1
- training_metadata.json +15 -3
README.md
CHANGED
|
@@ -10,8 +10,8 @@ tags:
|
|
| 10 |
- agents
|
| 11 |
- rag
|
| 12 |
- llmops
|
| 13 |
-
- text2text-generation
|
| 14 |
- lora
|
|
|
|
| 15 |
datasets:
|
| 16 |
- hharsha/agentic-github-meta
|
| 17 |
pipeline_tag: text2text-generation
|
|
@@ -25,24 +25,11 @@ widget:
|
|
| 25 |
|
| 26 |
Lightweight **text2text tag generator** for agentic AI / RAG / LLMOps GitHub-style
|
| 27 |
descriptions. Fine-tuned from [`google-t5/t5-small`](https://huggingface.co/google-t5/t5-small)
|
| 28 |
-
with **PEFT LoRA**
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
> This is a **~60M-param T5-small** tagger — **not** a 7B chat demo. Free Hub + CPU friendly.
|
| 32 |
-
|
| 33 |
-
## LoRA config (training)
|
| 34 |
|
| 35 |
-
|
| 36 |
-
|---|---|
|
| 37 |
-
| Base | `google-t5/t5-small` |
|
| 38 |
-
| Method | PEFT LoRA then merge |
|
| 39 |
-
| r | 16 |
|
| 40 |
-
| alpha | 32 |
|
| 41 |
-
| dropout | 0.05 |
|
| 42 |
-
| target_modules | `q`, `v` |
|
| 43 |
-
| Epochs | 2 (CPU) |
|
| 44 |
-
| Batch size | 8 |
|
| 45 |
-
| Dataset | [`hharsha/agentic-github-meta`](https://huggingface.co/datasets/hharsha/agentic-github-meta) |
|
| 46 |
|
| 47 |
## Usage
|
| 48 |
|
|
@@ -52,23 +39,25 @@ pipe = pipeline("text2text-generation", model="hharsha/agentic-github-tagger")
|
|
| 52 |
print(pipe("multi-agent platform with RAG, MCP, and observability")[0]["generated_text"])
|
| 53 |
```
|
| 54 |
|
| 55 |
-
Sample
|
| 56 |
|
| 57 |
```
|
| 58 |
-
|
| 59 |
```
|
| 60 |
|
| 61 |
-
##
|
| 62 |
-
|
| 63 |
-
- Dataset: [`hharsha/agentic-github-meta`](https://huggingface.co/datasets/hharsha/agentic-github-meta)
|
| 64 |
-
- Showcase: [`hharsha/agentic-systems-showcase`](https://huggingface.co/datasets/hharsha/agentic-systems-showcase)
|
| 65 |
-
- Studio: [https://agentic-systems-studio.com](https://agentic-systems-studio.com)
|
| 66 |
-
- GitHub: [https://github.com/hharsha98](https://github.com/hharsha98)
|
| 67 |
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 71 |
|
| 72 |
-
##
|
| 73 |
|
| 74 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
- agents
|
| 11 |
- rag
|
| 12 |
- llmops
|
|
|
|
| 13 |
- lora
|
| 14 |
+
- text2text-generation
|
| 15 |
datasets:
|
| 16 |
- hharsha/agentic-github-meta
|
| 17 |
pipeline_tag: text2text-generation
|
|
|
|
| 25 |
|
| 26 |
Lightweight **text2text tag generator** for agentic AI / RAG / LLMOps GitHub-style
|
| 27 |
descriptions. Fine-tuned from [`google-t5/t5-small`](https://huggingface.co/google-t5/t5-small)
|
| 28 |
+
with **PEFT LoRA** (r=16, alpha=32, dropout=0.05, target_modules q/v) on
|
| 29 |
+
[`hharsha/agentic-github-meta`](https://huggingface.co/datasets/hharsha/agentic-github-meta),
|
| 30 |
+
then **merged** so `transformers` pipelines work on free CPU.
|
|
|
|
|
|
|
|
|
|
| 31 |
|
| 32 |
+
> ~60M-param T5-small tagger — **not** a 7B chat demo.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
|
| 34 |
## Usage
|
| 35 |
|
|
|
|
| 39 |
print(pipe("multi-agent platform with RAG, MCP, and observability")[0]["generated_text"])
|
| 40 |
```
|
| 41 |
|
| 42 |
+
Sample:
|
| 43 |
|
| 44 |
```
|
| 45 |
+
Multi-agents, multi-agent, observability, observability, observability, rag, mCP, observability, multiagents, multi-agents, observability, observability, observability, observability,
|
| 46 |
```
|
| 47 |
|
| 48 |
+
## Training
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
|
| 50 |
+
| | |
|
| 51 |
+
|---|---|
|
| 52 |
+
| Base | `google-t5/t5-small` |
|
| 53 |
+
| LoRA | r=16, alpha=32, dropout=0.05, modules q/v |
|
| 54 |
+
| Epochs | 3 (CPU) |
|
| 55 |
+
| Batch | 8 |
|
| 56 |
+
| Dataset | [`hharsha/agentic-github-meta`](https://huggingface.co/datasets/hharsha/agentic-github-meta) |
|
| 57 |
|
| 58 |
+
## Links
|
| 59 |
|
| 60 |
+
- Dataset: https://huggingface.co/datasets/hharsha/agentic-github-meta
|
| 61 |
+
- Showcase: https://huggingface.co/datasets/hharsha/agentic-systems-showcase
|
| 62 |
+
- Studio: https://agentic-systems-studio.com
|
| 63 |
+
- GitHub: https://github.com/hharsha98
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 242041896
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a64832c58df0fe26aeadbb04445fecc46f6731974c76190d9a9d7aad3b755c98
|
| 3 |
size 242041896
|
training_metadata.json
CHANGED
|
@@ -9,10 +9,22 @@
|
|
| 9 |
"v"
|
| 10 |
]
|
| 11 |
},
|
| 12 |
-
"epochs":
|
| 13 |
"batch_size": 8,
|
| 14 |
"train_rows": 600,
|
| 15 |
-
"
|
| 16 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
"merged": true
|
| 18 |
}
|
|
|
|
| 9 |
"v"
|
| 10 |
]
|
| 11 |
},
|
| 12 |
+
"epochs": 3,
|
| 13 |
"batch_size": 8,
|
| 14 |
"train_rows": 600,
|
| 15 |
+
"samples": [
|
| 16 |
+
{
|
| 17 |
+
"input": "multi-agent platform with RAG, MCP, and observability",
|
| 18 |
+
"output": "Multi-agents, multi-agent, observability, observability, observability, rag, mCP, observability, multiagents, multi-agents, observability, observability, observability, observability, "
|
| 19 |
+
},
|
| 20 |
+
{
|
| 21 |
+
"input": "looking for RAG hybrid search recall@k and reranking",
|
| 22 |
+
"output": "reranking, recall@k, reranking,"
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"input": "FastAPI Next.js agent backend with Docker Compose",
|
| 26 |
+
"output": "FastAPI, Next.js, backend, agent, docker, comma"
|
| 27 |
+
}
|
| 28 |
+
],
|
| 29 |
"merged": true
|
| 30 |
}
|