You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/templates/llama2-functions
Lance Martin 05bbf943f2
LLaMA2 with JSON schema support template (#12435)
11 months ago
..
llama2_functions LLaMA2 with JSON schema support template (#12435) 11 months ago
tests LLaMA2 with JSON schema support template (#12435) 11 months ago
README.md LLaMA2 with JSON schema support template (#12435) 11 months ago
llama2-functions.ipynb LLaMA2 with JSON schema support template (#12435) 11 months ago
poetry.lock LLaMA2 with JSON schema support template (#12435) 11 months ago
pyproject.toml LLaMA2 with JSON schema support template (#12435) 11 months ago

README.md

Extraction with LLaMA2 Function Calling

This template shows how to do extraction of structured data from unstructured data, using LLaMA2 fine-tuned for grammars and jsonschema.

Specify the scehma you want to extract in chain.py

By default, it will extract the title and author of papers.

LLM

This template will use Replicate hosted version of LLaMA.

Be sure that REPLICATE_API_TOKEN is set in your environment.