Comments (3)
@ZoranPandovski Hi Zoran, I'd love to work on this feature as I said in the chat!
Just one thing: this is how I train the NER model:
optimizer = nlp.initialize()
for itn in range(100):
random.shuffle(train_data)
for raw_text, entity_offsets in train_data:
doc = nlp.make_doc(raw_text)
example = Example.from_dict(doc, {"entities": entity_offsets})
nlp.update([example], sgd=optimizer)
nlp.to_disk("/output")
And this is how I load:
nlp = spacy.load("/output")
Is it possible to savee the pipeline/model somewhere and load it? If so which directory/path?
I am thinking of doing f-strings paths for each trained custom pipeline/model. I will use pre-existing NER model and fine-tune it without resetting its internal state.
from mindsdb.
Thanks @HahaBill, I've assigned it to you. For storing the pipeline we can use the model storage, check the base interface
mindsdb/mindsdb/integrations/libs/base.py
Line 287 in 531d2d8
from mindsdb.
@ZoranPandovski Right got it! Thanks for the info!
from mindsdb.
Related Issues (20)
- [Docs]: `jobs_history` table replaced to `log` database
- [Bug]: Duplicate results when Selecting from TwelveLabs model
- [Bug]: Upload videos from drive to Twelvelabs index
- [Bug]: Binance integration not working in Docker Image 24.2.3.0
- [Docs]: Slack Documentation Uses Wrong Name for "Text" Column
- [Bug]: ModuleNotFoundError: No module named 'type_infer.api' HOT 3
- [Bug]: Can't run multiple queries at the same time
- [Bug]: bs4 doesn't get installed HOT 3
- [Bug]: Python Polars incompatible with Intel Xeon CPU E5-2690 HOT 2
- Make Agent Chain Execution More Robust HOT 1
- [Epic] Full Agents Featureset in SQL, API, SDKs
- Add Support for Querying Agents to REST API
- Add Support for Querying Agents via SQL
- [Bug]: not relevant error message if try to use model in 'error' status
- [Bug]: `DESCRIBE` is not working for openai model in `error` status
- [Bug]: Cannot `describe` model if ml engine is not working
- [Bug]: Error if `JOIN` model with empty data
- Should not be possible to create a ml_engine with an invalid api key
- [Docs]: Update Agents REST API Docs
- [Docs]: Update Agents SQL Docs
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 mindsdb.