Skip to main content

Gets the tokenizer that was used to train a model

GET 

https://api.aleph-alpha.com/models/:modelName/tokenizer

Returns a representation of the tokenizer that was used to train that model

Request

Responses

OK

Authorization: http

name: tokentype: httpscheme: bearerdescription: Can be generated in your [Aleph Alpha profile](https://app.aleph-alpha.com/profile)
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());
Request Collapse all
Base URL
https://api.aleph-alpha.com
Auth
Parameters
— pathrequired
ResponseClear

Click the Send API Request button above and see the response here!