Fixed vocabulary parsing
Browse files- 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);
|