Instructions to use intexcp/gigactc with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use intexcp/gigactc with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="intexcp/gigactc", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("intexcp/gigactc", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update encoder.py
Browse files- encoder.py +1 -1
encoder.py
CHANGED
|
@@ -515,7 +515,7 @@ class ConformerEncoder(nn.Module):
|
|
| 515 |
)
|
| 516 |
self.layers.append(layer)
|
| 517 |
|
| 518 |
-
self.pos_enc.extend_pe(pos_emb_max_len
|
| 519 |
|
| 520 |
def input_example(
|
| 521 |
self,
|
|
|
|
| 515 |
)
|
| 516 |
self.layers.append(layer)
|
| 517 |
|
| 518 |
+
self.pos_enc.extend_pe(pos_emb_max_len)
|
| 519 |
|
| 520 |
def input_example(
|
| 521 |
self,
|