Downloads · 30 days
0
MateusBarros/granite-company-agent
granite-company-agent is a text generation model from MateusBarros. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
<div align="center" <img src="Granite-Company-Agent-System-Flowchart.png" alt="Diagram illustrating the Granite Company Agent workflow." width="600"/ <br / <emDiagram illustrating the Granite Company Agent workflow.</…
Downloads · 30 days
0
Access
Public
Updated Sep 27, 2025
Repo size
1.9 MB
Likes
1
Public
Click a slice to open those files.
.png1.9 MB · 99%
From the Hugging Face model README
The Granite Company Agent is a lightweight, fine-tuned language model built on top of a base causal language model.
It is designed to process structured company data (methodologies, courses, teachers, FAQs, testimonials) and provide accurate, context-aware responses to user queries.
granite-company-agent/
│
├── README.md
├── LICENSE
├── requirements.txt
│
├── train_granite.py # Script to fine-tune the model
├── data_loader.py # Utility to load CSV, XLSX, or TXT files
├── generate_data.py # Generate synthetic company data
├── download_model.py # Download base model from Hugging Face
├── chat_agent.py # Simple inference/chat script
git https://huggingface.co/MateusBarros/granite-company-agent.git
cd granite-company-agent
pip install -r requirements.txt
python generate_data.py
python download_model.py
Train the model on your dataset:
python train_granite.py
Use the agent interactively:
python chat_agent.py
Type your question and get responses from the fine-tuned model. Type exit or quit to end the session.
This project is released under the Apache-2.0 License.