Comments (5)
@cnlinxi sorry for your inconvenience. I thought using floydhub would be sustainable but it seems very costly in a long run. So, I've decided to cancel my subscription, hence losing the datasets there.
I'll get back to you regarding the corpus. Would you mind sharing a bit on what you plan to do with the code?
from attacut.
@heytitle Sorry for reply too late. I hope to use this model to segment Thai words, and hope to improve it. I hope to provide a good Thai text regularization method.
from attacut.
@cnlinxi sorry again for my response. You can find the data at https://codeforthailand.s3-ap-southeast-1.amazonaws.com/attacut-related/data.zip
Please unzip and make sure the root directory is at ./data
. The content of the archive contains
Only the first two are relevant for training; sampling-0
means all the dateset, while sampling-10
means only 10 files are used. You can use sampling-10
for quick training.
Before running the training command below, make sure that you have the ./artifacts
directory.
python ./scripts/train.py --model-name seq_sy_ch_conv_concat \
--model-params "embc:8|embs:8|conv:8|l1:6|do:0.1" \
--data-dir ./data/best-syllable-crf-and-character-seq-feature-sampling-0 \
--output-dir ./artifacts/model-xx \
--epoch 2 \
--batch-size 1024 \
--lr 0.001 \
--lr-schedule "step:5|gamma:0.5"
from attacut.
@heytitle thank you very much. I have trained this model on BEST 2010. Great work:)
from attacut.
https://codeforthailand.s3-ap-southeast-1.amazonaws.com/attacut-related/data.zip
Is word split by "~" in "best-syllable-tokenized" dataset?
from attacut.
Related Issues (17)
- beta release HOT 2
- attacut-sc doesn't tokenise space properly
- Add custom dictionary HOT 3
- เพิ่ม option `attacut-sc` และ `attacut-c` ใน engine เมื่อเรียก from pythainlp.tokenize import word_tokenize
- Provide a way to make part of text not to be tokenized HOT 2
- the accuracy between "AttaCut" and "newmm". HOT 3
- the meaning of label data HOT 1
- Uplift version pin of nptying HOT 4
- What is the format of the input data? HOT 2
- Can't install on Windows HOT 4
- Datasets cannot be accessed HOT 1
- custom_dict param is not working properly on attacut tokenizer HOT 1
- Add a factory function HOT 1
- Batch processing for CLI
- Convert models to torchscript format HOT 2
- UnicodeDecodeError Problem HOT 2
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 attacut.