candle-tutorial icon indicating copy to clipboard operation
candle-tutorial copied to clipboard

Tutorial for Porting PyTorch Transformer Models to Candle (Rust)

Results 4 candle-tutorial issues
Sort by recently updated
recently updated
newest added

hi. any suggestions on how to get a decoded output once I have done ``` let output = model.forward(&input_ids, &token_ids)?; ``` Am trying to go from a text input, extract...

When explaining Activation: Activation: The RoBERTa uses a GELU activation function. We can implement the GELU using a similar approach as dropout above with no input params. Candle tensors have...

# Description I used the code provided in the README.md file to define the LayerNorm layer. However, I encountered an error indicating an unexpected tensor rank. # Error ``` Running...