poprox_recommender.model#
Functions
|
|
|
Classes
|
|
|
- class poprox_recommender.model.ModelConfig(num_epochs: 'float' = 10, num_clicked_news_a_user: 'float' = 50, word_freq_threshold: 'float' = 1, dropout_probability: 'float' = 0.2, word_embedding_dim: 'float' = 300, category_embedding_dim: 'float' = 100, query_vector_dim: 'float' = 200, additive_attn_hidden_dim: 'float' = 200, num_attention_heads: 'float' = 16, hidden_size: 'int' = 768)#
Bases:
object
- class poprox_recommender.model.RecommenderComponents(tokenizer: 'AutoTokenizer', model: 'NRMS', device: 'str | None')#
Bases:
object
Modules