facebookresearch / facebookresearch/mmf

Adding custom embedding into model

Open
#1,007 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
5.6k
Forks
939
PR merge metrics
No merged PRs in 30d

Description

## ❓ Questions and Help
I am using m4c model, in mmf, word embedding for ocr tokens are loaded by fasttext model during dataset process.
However, I want to use custom embedding for ocr tokens (include corresponding vocab and load pretrained embedding) and add this embedding into model and train the embedding together.
How can I achieve this?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.