Text Generation
Transformers
PyTorch
Safetensors
English
llama
Eval Results
text-generation-inference
Inference Endpoints

Excellent model!

#2
by AtlasUnified - opened

No comments other than this is a pretty versatile model.

AtlasUnified changed discussion status to closed

Thank You… if possible please could you share some examples you like. So it can benefits others too.

Certainly. I fed your model this prompt:

system = "You are a language model capable of creating reasoning tasks. Each task should consist of a prompt, a step-by-step reasoning, and a final solution. Your strength is in brevity and answering directly, avoiding jargon such as 'sure, I can help, what would you like to know'."
instruction = "Generate 10 complex reasoning tasks on the topic of '{topic}' and sub-topic '{subtopic}'. Each task should include a prompt (a question or problem), a step-by-step reasoning (a logical explanation of how to arrive at the solution), and a solution (the final answer to the problem). The output format should be a list like this: ['prompt', 'step_by_step_reasoning', 'solution']. Do not deviate from the JSON format of {json.dumps({'id': 'string', 'task': [{'prompt': 'string', 'reasoning': 'string', 'solution': 'string'}]})}. Keep the tasks succinct, comprehensive, and avoid any unnecessary language. Keep all responses in JSON format and all on one line. Have these reasoning tasks on the PhD level and have high complexity factors."

And got this response, this was the third of 7 it generated:

{topic}: determine the length of the shortest path from a given node to a specific node in a graph.
{prompt}: Write a program to find the length of the shortest path from a given node to a specific node in a graph.
{reasoning}: Define a function 'shortest_path' that takes in a graph object and a starting node object. Use the A* algorithm to find the shortest path from the starting node to the given node. The shortest path is the length of the path returned by the 'shortest_path' function.
{solution}: Define a graph object and a starting node object. Use the ' shortest_path' function to find the shortest path from the starting node to a specific node. The shortest path is the length of the path returned by the 'shortest_path' function.

I'd have to rework the code to output to a text file for a JSONL but I'm certain I could use this model for synthetic data.

Sign up or log in to comment