Comments (1)
You can use the inference
module for this, which takes a text file as input. You can check the newly added inference section in readme for example. You do not need to process the text.
from punctuation-restoration.
Related Issues (12)
- CUDA memory allocation error! HOT 2
- FileNotFoundError
- ERROR: Failed building wheel for tokenizers HOT 2
- RuntimeError: Error(s) in loading state_dict for DeepPunctuation: Missing key(s) in state_dict: "bert_layer.embeddings.position_ids". HOT 2
- Dose this model support training with chinese? HOT 1
- How to implement `torch.nn.DistributedDataParallel` in training?
- Unable to predict using inference.py file HOT 4
- What is 5th Index value in Precision, Recall and F1 lists HOT 4
- i have created my own training data i got this error HOT 3
- Wrong shape for input_ids (shape torch.Size([1, 256])) or attention_mask (shape torch.Size([256])) HOT 1
- What if I want to load a pre-trained model from local disk?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from punctuation-restoration.