Comments (1)
Hi @tianchiguaixia,
spacy-llm
doesn't provide any tools for fine-tuning LLMs. For that, I recommend looking into the capabilities of the provider you're using (OpenAI, Anthropic, Cohere, ...) or, correspondingly, open source tools (e. g. here).- A knowledge base is not part of the NER task, no.
I recommend tackling this by combining the LLM NER task with an EntityRuler
to leverage a rule-based approach if you have prior knowledge about the entities in your data and/or a pretrained spaCy NER (non-LLM) component. This should help catch entities not identified by your LLM.
from spacy-llm.
Related Issues (20)
- Bug: Custom Endpoint Validation Breaks Feature Support HOT 1
- Working dummy example for custom LLM endpoint integration HOT 1
- spacy-llm custom task configuration HOT 5
- How to surpass BERT through large models HOT 1
- Many returns are not what I want HOT 1
- out put with llm in a string?
- Entity extraction and mapping
- Connection time out with OpenAI API HOT 3
- Can't use Gpt4 models
- ValueError: max() arg is an empty sequence
- Potential REL sharding issue HOT 3
- How to write the correct config file for GPT4All? HOT 1
- How to load a model that's not supported by spacy RestAPI nor HF? HOT 1
- I have downloaded the llama2 model to local path, but program always try downloaded the llama2 from huggingface
- A tutorial to integrate other open-source LLMs on HF HOT 1
- GPT4ALL basically all the small models reply mess up the parser HOT 1
- GPT4 context_length is not working
- Few-Shot Relationship Extraction Example Error
- `transformers` > 4.38 causes bug in inference for HF models
- Inconsistent entity parsing using GPT-3.5 Turbo 16k
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spacy-llm.