clab / clab/dynet

if VOCAB_SIZE is not constant and fixed,how can i use model.add_lookup_parameters((VOCAB_SIZE, EMB_DIM))

Open
#1,498 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
3.4k
Forks
701
PR merge metrics
No merged PRs in 30d

Description

I can't use V = model.add_lookup_parameters((VOCAB_SIZE, EMB_DIM)),because my VOCAB_SIZE is not a constant , i have to deal with out-of-vocabulary(oov) words for every article-title pair.
Is there any other method for not fixed VOCAB_SIZE? Thank you,English is not my native language

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the model.add_lookup_parameters((VOCAB_SIZE, EMB_DIM)) entry point and review how VOCAB_SIZE, EMB_DIM, and out-of-vocabulary words are handled for article-title pairs. The issue names no source file or test; done would require a clearly supported approach for non-fixed vocabulary sizes, with its behavior documented and verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.