Repository Models¶
- class paperswithcode.models.repository.Repository(*, url: str, is_official: bool, description: str, stars: int, framework: str)[source]¶
Repository object.
- url¶
URL of the repository.
- Type
str
- is_official¶
Is this an official implementation of the paper.
- Type
bool
- description¶
Repository description.
- Type
str
- stars¶
Number of repository stars.
- Type
int
- framework¶
Implementation framework (TensorFlow, PyTorch, MXNet, Torch, Jax, Caffee2…)
- Type
str
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be parsed to form a valid model.
- class paperswithcode.models.repository.Repositories(*, count: int, next_page: int = None, previous_page: int = None, results: List[paperswithcode.models.repository.Repository])[source]¶
Object representing a paginated page of repositories.
- count¶
Number of elements matching the query.
- Type
int
- next_page¶
Number of the next page.
- Type
int, optional
- previous_page¶
Number of the previous page.
- Type
int, optional
- results¶
List of repositories on this page.
- Type
List[Repository]
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be parsed to form a valid model.