Comments (6)
Hi, thanks for your interest! I'm not sure if I'll have time to write a comprehensive training readme, but I'm happy to help you with training on these new languages! Please let me know here or on [email protected] if you have any issues.
The first thing you will need is a word-frequency list for each language. The Dataset
class expect a tab-separated file with words sorted by frequency (f"{word}\t{frequency}"
). Specifically, you should create these three files:
f"data/{language}_train_word_freq.tsv"
for trainingf"data/{language}_valid_word_freq.tsv"
with unseen words for validationf"data/{language}_frequent_word_freq.tsv"
with the most common (seen) words for validation
Evaluation of these models is not easy (without training an expensive language model), but the two validation files are at least somewhat useful for sanity checking the training.
from factorizer.
Thanks! I'll give it a go when I have a chance, and email you if I get stuck :)
from factorizer.
Hi @davda54 it appears there are missing dependencies for the following imports in vq-vae/train.py
from lazy_adam import LazyAdamW
from random_sampler import WeightedRandomSampler
from factorizer.
Update: I was able to run train.py
and get a model. How can we now convert this model to a .dawg file used in example code? @davda54
from factorizer.
@davda54 reminder here a few months later. Could you please help us convert the trained model into a .dawg file?
from factorizer.
Just saw this comment, did you manage to make it run with the build.py file?
from factorizer.
Related Issues (2)
- Codes beyond 255 HOT 3
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 factorizer.