Gets the tokenizer that was used to train a model
GEThttps://api.aleph-alpha.com/models/:modelName/tokenizer
Returns a representation of the tokenizer that was used to train that model
Request
Path Parameters
modelName stringrequired
Name of the model
Responses
- 200
OK
- application/json
- Schema
- Example (auto)
Schema
objectobject
{}
Authorization: http
name: tokentype: httpscheme: bearerdescription: Can be generated in your [Aleph Alpha profile](https://app.aleph-alpha.com/profile)
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.aleph-alpha.com/models/:modelName/tokenizer");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <token>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
ResponseClear