Pippe commited on
Commit
d61a486
1 Parent(s): 2b1f469

Fixed vocabulary parsing

Browse files
Files changed (1) hide show
  1. DebertaV3.cs +1 -1
DebertaV3.cs CHANGED
@@ -26,7 +26,7 @@ public sealed class DebertaV3 : MonoBehaviour
26
 
27
  void Start()
28
  {
29
- vocabularyTokens = vocabulary.text.Split("\n");
30
 
31
  allocator = new TensorCachingAllocator();
32
  ops = WorkerFactory.CreateOps(backend, allocator);
 
26
 
27
  void Start()
28
  {
29
+ vocabularyTokens = vocabulary.text.Replace("\r", "").Split("\n");
30
 
31
  allocator = new TensorCachingAllocator();
32
  ops = WorkerFactory.CreateOps(backend, allocator);