DSULT-Core/ShareGPT-X
Viewer • Updated • 109k • 213 • 17
Run Mauricio-100/agent-ai 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:
Use HF Jobs to fine-tune https://huggingface.co/Mauricio-100/agent-ai. 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.
Use HF Jobs to run batch inference with https://huggingface.co/Mauricio-100/agent-ai 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.
How to use Mauricio-100/agent-ai with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="Mauricio-100/agent-ai") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("Mauricio-100/agent-ai")
model = AutoModelForCausalLM.from_pretrained("Mauricio-100/agent-ai", device_map="auto")Agent-AI est un modèle de génération de texte basé sur GPT-NeoX, conçu pour être léger, modulaire et compatible avec Xenova et Hugging Face Transformers. Il peut être utilisé pour créer des assistants conversationnels, des agents intelligents et tout type d’application de génération de texte.
Clone le dépôt et installe les dépendances Python :
git clone https://github.com/Mauricio-100/agent-ai.git
cd agent-ai
pip install -r requirements.txt
⚠️ Compatible Python 3.10+
from transformers import pipeline
# Charger le modèle depuis le dossier local ou HF hub
bot = pipeline("text-generation", model="./agent_model")
# Générer du texte
response = bot("Bonjour, comment vas-tu ?", max_length=100)
print(response[0]['generated_text'])
agent-ai/
│
├─ agent_model/ # Modèle pré-entraîné
│ ├─ pytorch_model.bin
│ └─ config.json
│
├─ agent_tokenizer/ # Tokenizer pour convertir texte ↔ tokens
│ ├─ tokenizer.json
│ └─ vocab.json # avenir ->
│
└─ README.md # Ce fichier
git checkout -b feature/my-featuregit commit -am 'Add new feature'git push origin feature/my-featureBase model
trl-internal-testing/tiny-GPTNeoXForCausalLM