Coder Social home page Coder Social logo

tofunlp / lineflow Goto Github PK

View Code? Open in Web Editor NEW
180.0 180.0 9.0 863 KB

:zap:A Lightweight NLP Data Loader for All Deep Learning Frameworks in Python

Home Page: https://towardsdatascience.com/lineflow-introduction-1caf7851125e

License: MIT License

Makefile 0.32% Python 99.68%
deep-learning machine-learning natural-language-processing python

lineflow's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar sobamchan avatar yasufumy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

lineflow's Issues

Initial Update

The bot created this issue to inform you that pyup.io has been set up on this repo.
Once you have closed it, the bot will open pull requests for updates as soon as they are available.

Make Reducers

from lineflow import Dataset
from lineflow.reducers import FlatMap, Filter

ds = Dataset(range(100)).map(lambda x: [x] * 3)
_ = Filter(lambda x: x % 2 == 0)(ds)
_ = FlatMap(lambda x: x)(ds)

Initial Update

The bot created this issue to inform you that pyup.io has been set up on this repo.
Once you have closed it, the bot will open pull requests for updates as soon as they are available.

Initial Update

The bot created this issue to inform you that pyup.io has been set up on this repo.
Once you have closed it, the bot will open pull requests for updates as soon as they are available.

Initial Update

The bot created this issue to inform you that pyup.io has been set up on this repo.
Once you have closed it, the bot will open pull requests for updates as soon as they are available.

Move api

lineflow.Dataset.load to lineflow.load

Should slice of IterableDataset return IterableDataset not List?

Is your feature request related to a problem? Please describe.

train = lfds.SciTLDR(split="train")  # IterableDataset
train_mini = train[:10]  # Now this is just a python list (List[Any])

If I make a subset of a dataset, it loses all the features such as .map.

Describe the solution you'd like
Return IterableDataset in stead of List.

wmt14 google drive link is dead now.

Describe the bug
the google drive link to download wmt14 dataset is now unavailable.

To Reproduce

import lineflow.datasets as lfds
train_dataset = lfds.Wmt14("train")

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
I can try finding a working URL when I have some time.

TextDataset is now too complicated

Currently, TextDataset can handle single/multiple files and also combine two or more files with zip/concat method.
But it is implemented in only one class and hard to understand.
So I'd like to break into multiple classes.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.