File size: 1,338 Bytes
48f214b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
---
license: mit
---
A dataset consisting of Pokémon embeddings: text embeddings encoded from large amount of Pokémon metadata using [nomic-ai/nomic-embed-text-v1.5](https://huggingface.co/nomic-ai/nomic-embed-text-v1.5), and image embeddings encoded from the official Pokémon artwork using [nomic-ai/nomic-embed-vision-v1.5](https://huggingface.co/nomic-ai/nomic-embed-vision-v1.5).
No other metadata is present to avoid invoking the Nintendo Ninjas. To see how to retrieve additional metadata, see the "Get More Metadata" section.
## Fields
- `id`: Pokémon National Dex ID, which mapes to PokeAPI. "Special" Pokemon will have an id > 10000.
- `text_embedding`: 768D embedding of Pokémon medatadata
- `image_embedding`: 768D embedding of Pokémon images.
- `umap_2d_x`: x-coordinate value of a UMAP projection to 2D by concatenating the embeddings.
- `umap_2d_y`: y-coordinate value of a UMAP projection to 2D by concatenating the embeddings.
## Get More Metadata
You can retrieve more metadata using PokeAPI. An example:
```py3
import requests
graphql_query = """
{
pokemon_v2_pokemon(order_by: {id: asc}) {
id
name
}
}
"""
r = requests.post(
"https://beta.pokeapi.co/graphql/v1beta",
json={
"query": graphql_query,
},
)
pokemon = r.json()["data"]["pokemon_v2_pokemon"]
pokemon[0:10]
```
|