2021-02-26 04:05:02 +01:00
|
|
|
// Matrix Construct
|
|
|
|
//
|
|
|
|
// Copyright (C) Matrix Construct Developers, Authors & Contributors
|
|
|
|
// Copyright (C) 2016-2021 Jason Volk <jason@zemos.net>
|
|
|
|
//
|
|
|
|
// Permission to use, copy, modify, and/or distribute this software for any
|
|
|
|
// purpose with or without fee is hereby granted, provided that the above
|
|
|
|
// copyright notice and this permission notice is present in all copies. The
|
|
|
|
// full license for this software is available in the LICENSE file.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
#define HAVE_IRCD_GPT_GPT_H
|
|
|
|
|
|
|
|
/// Generative Pre-trained Transformer
|
|
|
|
///
|
|
|
|
namespace ircd::gpt
|
|
|
|
{
|
|
|
|
IRCD_EXCEPTION(ircd::error, error)
|
2021-03-05 02:03:33 +01:00
|
|
|
|
2021-03-09 11:08:47 +01:00
|
|
|
struct opts;
|
2021-03-10 09:18:23 +01:00
|
|
|
struct task;
|
2021-03-05 02:03:33 +01:00
|
|
|
|
|
|
|
extern log::log log;
|
2021-02-26 04:05:02 +01:00
|
|
|
}
|
|
|
|
|
2021-04-02 22:01:38 +02:00
|
|
|
#include "hypercall.h"
|
2021-02-26 04:05:02 +01:00
|
|
|
#include "vocab.h"
|
2021-03-05 02:03:33 +01:00
|
|
|
#include "model.h"
|
2021-04-02 22:01:38 +02:00
|
|
|
#include "token.h"
|
|
|
|
#include "opts.h"
|
2021-03-10 09:18:23 +01:00
|
|
|
#include "task.h"
|
2021-04-02 22:01:38 +02:00
|
|
|
#include "pipe/pipe.h"
|
2021-03-10 09:18:23 +01:00
|
|
|
#include "generate.h"
|