Skip to main content

Gets the tokenizer that was used to train a model

GET 

/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

OK

Schema
    objectobject

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://docs.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
Auth
Parameters
— pathrequired