Downloads · 30 days
7
1% of all-time downloads
EugeneEvstafev/llm7-graph-270m-it-ft-20251009
llm7-graph-270m-it-ft-20251009 is a text generation model from EugeneEvstafev. Use it when you need the model to write or continue text. It is set up for transformers.
This model, llm7-graph-270m-it-ft-20251009, is a specialized version of LLM that has been fine-tuned to extract and generate knowledge graphs from unstructured text. 🧠
Downloads · 30 days
7
1% of all-time downloads
All-time downloads
583
Public
Parameters
268M
1.1 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors536 MB · 93%
From the Hugging Face model README
This model, llm7-graph-270m-it-ft-20251009, is a specialized version of LLM that has been fine-tuned to extract and generate knowledge graphs from unstructured text. 🧠
Its primary purpose is to identify entities and the relationships between them in a given piece of text and present this information in a structured graph format. For instance, if you provide the input "The capital of France is Paris," the model will output a structured relationship like [{"from": "Paris", "relationship": "located_in", "to": "France"}].
The model was trained using Supervised Fine-Tuning (SFT) and is multilingual, supporting the following languages:
from transformers import pipeline
question = "The capital of France is Paris."
generator = pipeline("text-generation", model="EugeneEvstafev/llm7-graph-270m-it-ft-20251009", device="cpu")
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
print(output["generated_text"]) # [{"from": "Paris", "relationship": "located_in", "to": "France"}]
This model was trained with SFT.
Cite llm7-graph-270m-it-ft-20251009 as:
@misc{EugeneEvstafevLLM7,
title = {{llm7-graph-270m-it-ft-20251009}},
author = {Eugene Evstafev{\'e}dec},
year = 2025
}