You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to implement this model for text summarization:
option 1: mrm8488/bert2bert_shared-spanish-finetuned-summarization
option 2: "Narrativa/bsc_roberta2roberta_shared-spanish-finetuned-mlsum-summarization
I'm using the following:
use candle_transformers::models::bert::Config;
let config = std::fs::read_to_string(config_filename)?;
let mut config: Config = serde_json::from_str(&config)?;
But I get this error: missing field hidden_size at line 171 column 1
I suppose that doesn't have the same structure that it needs.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I want to implement this model for text summarization:
option 1: mrm8488/bert2bert_shared-spanish-finetuned-summarization
option 2: "Narrativa/bsc_roberta2roberta_shared-spanish-finetuned-mlsum-summarization
I'm using the following:
use candle_transformers::models::bert::Config;
let config = std::fs::read_to_string(config_filename)?;
let mut config: Config = serde_json::from_str(&config)?;
But I get this error: missing field
hidden_size
at line 171 column 1I suppose that doesn't have the same structure that it needs.
Beta Was this translation helpful? Give feedback.
All reactions