Comments (1)
Hi, you can use the multilingual model as indicated in the readme with the commands:
tokenizer = BertTokenizer.from_pretrained('bert-base-multilingual')
model = BertModel.from_pretrained('bert-base-multilingual')
This will load the multilingual vocabulary (which should contain korean) that your command was not loading.
from transformers.
Related Issues (20)
- Schedule Free Optimizers (pytorch) and Sophia optimizer HOT 2
- Flash Attention Support for Blip2ForConditionalGeneration HOT 1
- Trainer doesn't respect neither generation_max_length nor model.config.max_length HOT 2
- Similarity search bug - urgent HOT 1
- `model.generate` fail for Jamba with `device_map="auto"` HOT 3
- `ZeroShotClassificationPipeline.preprocess` simply discards all but the first item HOT 5
- [DynamicHead - Microsoft] Implementation request HOT 3
- Layerwise GaLore optimizer cannot convergence with warmup scheduler
- Bad weight init dependant of a processor import HOT 16
- All-zero embedding distorts StaticCache.get_seq_length() output HOT 2
- Batch inputs get different result to single input for llama model. HOT 6
- Weights of LlamaForQuestionAnswering were not initialized from the model checkpoint HOT 1
- data did not match any variant of untagged enum PyPreTokenizerTypeWrapper at line 12564 column 3 HOT 3
- [BLIP-2] BitsAndBytes 4 and 8 bit give empty string HOT 6
- Update `make-fixup` to make sure image processor tests present
- Add Llama 3 support to `convert_llama_weights_to_hf()` HOT 6
- Reccurent Gemma forward pass does not match with Google DeepMind original implementation HOT 3
- Idefics2 - sdpa vs flash attn 2 HOT 2
- Add HelpingAI-3B-v2.2: Emotionally Intelligent Conversational AI
- tranformers.Trainer.train() hangs with Llama3 base model HOT 7
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 transformers.